﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Home.aspx.cs" Inherits="Follow._Home" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div class="divHome" runat="server">
        <center>
            <span style="font-size: 16px; font-weight: bold;">Bem Vindo ao Follow SGM!!!</span>
        </center>
    </div>
    <br />
    <div class="Titulo">
        <asp:Label ID="lblAlertas" Text="Alertas" runat="server" /><br />
        <asp:Image ID="imgTitulo" runat="server" ImageUrl="~/images/linhas_17.png" />
    </div>
    <asp:Label ID="lblMsgGrid" Text="Nenhum alerta." runat="server" Visible="false" />
    <asp:GridView ID="gvPropostasPendentes" runat="server" DataKeyNames="IDFollowUp,IDProposta"
        AutoGenerateColumns="False" OnRowCommand="gvPropostasPendentes_RowCommand" 
        OnRowDataBound="gvPropostasPendentes_RowDataBound">
        <Columns>
            <asp:TemplateField>
                <ItemTemplate>
                    <table>
                        <tr>
                            <td width="75px">
                                <img src="Images/1381465712_Warning.png" width="70px" />
                            </td>
                            <td>
                                <div style="border: solid 2px black; background-color: Yellow; margin-bottom: 30px;
                                    padding: 5px 5px 5px 5px; -moz-border-radius: 10px; -webkit-border-radius: 10px;
                                    border-radius: 10px; width: 665px;">
                                    A proposta
                                    <asp:Label ID="lblIdProspossta" runat="server" Text='<%# Bind("idproposta") %>' Font-Bold="true"></asp:Label>
                                     criada pelo funcionario
                                     <asp:Label ID="lblNomeFuncionario" runat="server" Text='<%# Bind("NomeFuncionario") %>' Font-Bold="true"></asp:Label>
                                    do(a) cliente
                                    <asp:Label ID="lblNomeCliente" runat="server" Text='<%# Bind("NomeCliente") %>' Font-Bold="true"></asp:Label>
                                    esta no Status
                                    <asp:Label ID="lblStatus" runat="server" Text='<%# Bind("DescricaoStatus") %>' Font-Bold="true"></asp:Label>
                                    a <u>mais de 5 dias</u>.
                                    <br />
                                    <b>Data do Status:</b>
                                    <asp:Label ID="lblDataStatus" runat="server" Text='<%# Bind("dataStatus") %>' Font-Bold="true"></asp:Label>
                                    <br />
                                    <div style="text-align: right;">
                                        <asp:LinkButton ID="lkbAtualizar" runat="server" CommandName="Atualizar" Font-Bold="true">Atualizar</asp:LinkButton>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
